:root, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.btn-container {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 999;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.btn-container .speed-control {
    display: flex;
    justify-content: space-between;
    position: absolute;
    font-size: 30px;
    width: 200px;
    left: 50%;
    top: 40%;
    transform: translateX(-50%) translateY(-50%);
}

.btn-container .speed-control button {
    flex: 0 0 40%;
    border: 1px solid transparent;
    background-color: #009688;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border-radius: 2px;
    cursor: pointer;
}

.btn-container #restart,
.btn-container #start {
    position: absolute;
    height: 38px;
    line-height: 38px;
    border: 1px solid transparent;
    padding: 0 18px;
    background-color: #009688;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border-radius: 2px;
    cursor: pointer;
    width: 200px;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.stone {
    background-color: #7dd9ff;
}

.floor {
    background-color: #225675;
}

.snake-head {
    background-image: url(../assets/snakeHead.png);
    background-size: cover;
    border-top-right-radius: 30%;
    border-bottom-right-radius: 30%;
}

.snake-body {
    background-color: #9ddbb1;
    border-radius: 50%;
}

.food {
    background-image: url(../assets/food.png);
    background-size: cover;
}
